package com.winhxd.b2c.common.domain.customer.vo;

import com.winhxd.b2c.common.domain.common.PagedCondition;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by wangbaokuo on 2019/1/11 16:08
 */
@ApiModel("提现申请列表")
@Data
public class CustomerWithdrawalsVO extends PagedCondition {
    @ApiModelProperty(value = "id")
    private Long id;
    @ApiModelProperty(value = "昵称")
    private String nickName;
    @ApiModelProperty(value = "用户名")
    private Long customerId;
    @ApiModelProperty(value = "姓名")
    private String name;
    @ApiModelProperty(value = "分销渠道")
    private String channelName;
    @ApiModelProperty(value = "分销等级 1:一级分销商 2：二级分销商 0：会员")
    private Integer level;
    @ApiModelProperty(value = "流向")
    private String flowDirectionName;
    @ApiModelProperty(value = "提现方式")
    private String flowDirectionType;

    @ApiModelProperty(value = "提现金额")
    private BigDecimal totalFee;

    @ApiModelProperty(value = "手续费")
    private BigDecimal cmmsAmt;

    @ApiModelProperty(value = "申请时间")
    private Date created;

    @ApiModelProperty(value = "到账时间")
    private Date timeEnd;

    @ApiModelProperty(value = "审核状态 0未审核 1审核通过 2审核不通过")
    private Short auditStatus;

    @ApiModelProperty(value = "操作人员")
    private String updatedByName;
    @ApiModelProperty(value = "操作人员")
    private Date updated;
    @ApiModelProperty(value = "原因")
    private String callbackReason;

    @ApiModelProperty(value = "提现状态, 回调状态 0.申请中，1.提现成功，2提现失败（可以再次请求微信转账接口）,3无效（提现失败，不可以再次请求微信转账接口）,4处理中,5银行退票(订单状态由付款成功流转至退票,退票时付款金额和手续费会自动退还)")
    private Short callbackStatus;
}
